package com.bdqn.ssm.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.sql.Date;
import java.io.Serializable;

/**
 * (Employee)实体类
 *
 * @author makejava
 * @since 2023-11-07 11:53:56
 */
public class Employee implements Serializable {
    private static final long serialVersionUID = 556685331008552032L;
    
    private Integer id;
    
    private Integer number;
    
    private String name;
    
    private String department;
    
    private String position;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date birthday;
    
    private String sex;
    
    private Integer salary;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getNumber() {
        return number;
    }

    public void setNumber(Integer number) {
        this.number = number;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getPosition() {
        return position;
    }

    public void setPosition(String position) {
        this.position = position;
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public String getSex() {
        return sex;
    }

    public void setSex(String sex) {
        this.sex = sex;
    }

    public Integer getSalary() {
        return salary;
    }

    public void setSalary(Integer salary) {
        this.salary = salary;
    }

}

